<!-- 案件管理 -->
<template>
  <div class="page-index">
    <!-- 合规人员 -->
      <Compliant v-if="showCase"></Compliant>
    <!-- 非合规人员 -->
    <Uncompliant v-else></Uncompliant>
  </div>
</template>

<script>
import Compliant from './compliantList.vue'
import Uncompliant from './uncompliantList.vue'
export default {
  name: 'caseList',
  components: { Compliant, Uncompliant },
  data() {
    return {
      showCase: false,
    }
  },
  mounted() {
    this.showCase = this.$store.state.showCase == 1
  },
}
</script>

<style lang="less" scoped>
.page-index {
  height: 100%;
}
</style>